package org.hxyjs.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class TicketRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private Integer limit;

    private Integer offset;

    public TicketRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return offset;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value.getTime()), property);
        }

        protected void addCriterionForJDBCTime(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Time> timeList = new ArrayList<java.sql.Time>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                timeList.add(new java.sql.Time(iter.next().getTime()));
            }
            addCriterion(condition, timeList, property);
        }

        protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property);
        }

        public Criteria andArcnoIsNull() {
            addCriterion("arcno is null");
            return (Criteria) this;
        }

        public Criteria andArcnoIsNotNull() {
            addCriterion("arcno is not null");
            return (Criteria) this;
        }

        public Criteria andArcnoEqualTo(String value) {
            addCriterion("arcno =", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoNotEqualTo(String value) {
            addCriterion("arcno <>", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoGreaterThan(String value) {
            addCriterion("arcno >", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoGreaterThanOrEqualTo(String value) {
            addCriterion("arcno >=", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoLessThan(String value) {
            addCriterion("arcno <", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoLessThanOrEqualTo(String value) {
            addCriterion("arcno <=", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoLike(String value) {
            addCriterion("arcno like", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoNotLike(String value) {
            addCriterion("arcno not like", value, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoIn(List<String> values) {
            addCriterion("arcno in", values, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoNotIn(List<String> values) {
            addCriterion("arcno not in", values, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoBetween(String value1, String value2) {
            addCriterion("arcno between", value1, value2, "arcno");
            return (Criteria) this;
        }

        public Criteria andArcnoNotBetween(String value1, String value2) {
            addCriterion("arcno not between", value1, value2, "arcno");
            return (Criteria) this;
        }

        public Criteria andConoIsNull() {
            addCriterion("cono is null");
            return (Criteria) this;
        }

        public Criteria andConoIsNotNull() {
            addCriterion("cono is not null");
            return (Criteria) this;
        }

        public Criteria andConoEqualTo(String value) {
            addCriterion("cono =", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoNotEqualTo(String value) {
            addCriterion("cono <>", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoGreaterThan(String value) {
            addCriterion("cono >", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoGreaterThanOrEqualTo(String value) {
            addCriterion("cono >=", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoLessThan(String value) {
            addCriterion("cono <", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoLessThanOrEqualTo(String value) {
            addCriterion("cono <=", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoLike(String value) {
            addCriterion("cono like", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoNotLike(String value) {
            addCriterion("cono not like", value, "cono");
            return (Criteria) this;
        }

        public Criteria andConoIn(List<String> values) {
            addCriterion("cono in", values, "cono");
            return (Criteria) this;
        }

        public Criteria andConoNotIn(List<String> values) {
            addCriterion("cono not in", values, "cono");
            return (Criteria) this;
        }

        public Criteria andConoBetween(String value1, String value2) {
            addCriterion("cono between", value1, value2, "cono");
            return (Criteria) this;
        }

        public Criteria andConoNotBetween(String value1, String value2) {
            addCriterion("cono not between", value1, value2, "cono");
            return (Criteria) this;
        }

        public Criteria andAnoIsNull() {
            addCriterion("ano is null");
            return (Criteria) this;
        }

        public Criteria andAnoIsNotNull() {
            addCriterion("ano is not null");
            return (Criteria) this;
        }

        public Criteria andAnoEqualTo(String value) {
            addCriterion("ano =", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotEqualTo(String value) {
            addCriterion("ano <>", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThan(String value) {
            addCriterion("ano >", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoGreaterThanOrEqualTo(String value) {
            addCriterion("ano >=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThan(String value) {
            addCriterion("ano <", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLessThanOrEqualTo(String value) {
            addCriterion("ano <=", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoLike(String value) {
            addCriterion("ano like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotLike(String value) {
            addCriterion("ano not like", value, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoIn(List<String> values) {
            addCriterion("ano in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotIn(List<String> values) {
            addCriterion("ano not in", values, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoBetween(String value1, String value2) {
            addCriterion("ano between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andAnoNotBetween(String value1, String value2) {
            addCriterion("ano not between", value1, value2, "ano");
            return (Criteria) this;
        }

        public Criteria andUnoIsNull() {
            addCriterion("uno is null");
            return (Criteria) this;
        }

        public Criteria andUnoIsNotNull() {
            addCriterion("uno is not null");
            return (Criteria) this;
        }

        public Criteria andUnoEqualTo(String value) {
            addCriterion("uno =", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotEqualTo(String value) {
            addCriterion("uno <>", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThan(String value) {
            addCriterion("uno >", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoGreaterThanOrEqualTo(String value) {
            addCriterion("uno >=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThan(String value) {
            addCriterion("uno <", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLessThanOrEqualTo(String value) {
            addCriterion("uno <=", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoLike(String value) {
            addCriterion("uno like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotLike(String value) {
            addCriterion("uno not like", value, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoIn(List<String> values) {
            addCriterion("uno in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotIn(List<String> values) {
            addCriterion("uno not in", values, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoBetween(String value1, String value2) {
            addCriterion("uno between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andUnoNotBetween(String value1, String value2) {
            addCriterion("uno not between", value1, value2, "uno");
            return (Criteria) this;
        }

        public Criteria andRnoIsNull() {
            addCriterion("rno is null");
            return (Criteria) this;
        }

        public Criteria andRnoIsNotNull() {
            addCriterion("rno is not null");
            return (Criteria) this;
        }

        public Criteria andRnoEqualTo(String value) {
            addCriterion("rno =", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotEqualTo(String value) {
            addCriterion("rno <>", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoGreaterThan(String value) {
            addCriterion("rno >", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoGreaterThanOrEqualTo(String value) {
            addCriterion("rno >=", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoLessThan(String value) {
            addCriterion("rno <", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoLessThanOrEqualTo(String value) {
            addCriterion("rno <=", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoLike(String value) {
            addCriterion("rno like", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotLike(String value) {
            addCriterion("rno not like", value, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoIn(List<String> values) {
            addCriterion("rno in", values, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotIn(List<String> values) {
            addCriterion("rno not in", values, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoBetween(String value1, String value2) {
            addCriterion("rno between", value1, value2, "rno");
            return (Criteria) this;
        }

        public Criteria andRnoNotBetween(String value1, String value2) {
            addCriterion("rno not between", value1, value2, "rno");
            return (Criteria) this;
        }

        public Criteria andAfnoIsNull() {
            addCriterion("afno is null");
            return (Criteria) this;
        }

        public Criteria andAfnoIsNotNull() {
            addCriterion("afno is not null");
            return (Criteria) this;
        }

        public Criteria andAfnoEqualTo(String value) {
            addCriterion("afno =", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoNotEqualTo(String value) {
            addCriterion("afno <>", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoGreaterThan(String value) {
            addCriterion("afno >", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoGreaterThanOrEqualTo(String value) {
            addCriterion("afno >=", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoLessThan(String value) {
            addCriterion("afno <", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoLessThanOrEqualTo(String value) {
            addCriterion("afno <=", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoLike(String value) {
            addCriterion("afno like", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoNotLike(String value) {
            addCriterion("afno not like", value, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoIn(List<String> values) {
            addCriterion("afno in", values, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoNotIn(List<String> values) {
            addCriterion("afno not in", values, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoBetween(String value1, String value2) {
            addCriterion("afno between", value1, value2, "afno");
            return (Criteria) this;
        }

        public Criteria andAfnoNotBetween(String value1, String value2) {
            addCriterion("afno not between", value1, value2, "afno");
            return (Criteria) this;
        }

        public Criteria andCnoIsNull() {
            addCriterion("cno is null");
            return (Criteria) this;
        }

        public Criteria andCnoIsNotNull() {
            addCriterion("cno is not null");
            return (Criteria) this;
        }

        public Criteria andCnoEqualTo(String value) {
            addCriterion("cno =", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotEqualTo(String value) {
            addCriterion("cno <>", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoGreaterThan(String value) {
            addCriterion("cno >", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoGreaterThanOrEqualTo(String value) {
            addCriterion("cno >=", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoLessThan(String value) {
            addCriterion("cno <", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoLessThanOrEqualTo(String value) {
            addCriterion("cno <=", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoLike(String value) {
            addCriterion("cno like", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotLike(String value) {
            addCriterion("cno not like", value, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoIn(List<String> values) {
            addCriterion("cno in", values, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotIn(List<String> values) {
            addCriterion("cno not in", values, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoBetween(String value1, String value2) {
            addCriterion("cno between", value1, value2, "cno");
            return (Criteria) this;
        }

        public Criteria andCnoNotBetween(String value1, String value2) {
            addCriterion("cno not between", value1, value2, "cno");
            return (Criteria) this;
        }

        public Criteria andTrnameIsNull() {
            addCriterion("trname is null");
            return (Criteria) this;
        }

        public Criteria andTrnameIsNotNull() {
            addCriterion("trname is not null");
            return (Criteria) this;
        }

        public Criteria andTrnameEqualTo(String value) {
            addCriterion("trname =", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameNotEqualTo(String value) {
            addCriterion("trname <>", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameGreaterThan(String value) {
            addCriterion("trname >", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameGreaterThanOrEqualTo(String value) {
            addCriterion("trname >=", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameLessThan(String value) {
            addCriterion("trname <", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameLessThanOrEqualTo(String value) {
            addCriterion("trname <=", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameLike(String value) {
            addCriterion("trname like", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameNotLike(String value) {
            addCriterion("trname not like", value, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameIn(List<String> values) {
            addCriterion("trname in", values, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameNotIn(List<String> values) {
            addCriterion("trname not in", values, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameBetween(String value1, String value2) {
            addCriterion("trname between", value1, value2, "trname");
            return (Criteria) this;
        }

        public Criteria andTrnameNotBetween(String value1, String value2) {
            addCriterion("trname not between", value1, value2, "trname");
            return (Criteria) this;
        }

        public Criteria andCstateIsNull() {
            addCriterion("cstate is null");
            return (Criteria) this;
        }

        public Criteria andCstateIsNotNull() {
            addCriterion("cstate is not null");
            return (Criteria) this;
        }

        public Criteria andCstateEqualTo(String value) {
            addCriterion("cstate =", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotEqualTo(String value) {
            addCriterion("cstate <>", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateGreaterThan(String value) {
            addCriterion("cstate >", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateGreaterThanOrEqualTo(String value) {
            addCriterion("cstate >=", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateLessThan(String value) {
            addCriterion("cstate <", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateLessThanOrEqualTo(String value) {
            addCriterion("cstate <=", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateLike(String value) {
            addCriterion("cstate like", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotLike(String value) {
            addCriterion("cstate not like", value, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateIn(List<String> values) {
            addCriterion("cstate in", values, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotIn(List<String> values) {
            addCriterion("cstate not in", values, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateBetween(String value1, String value2) {
            addCriterion("cstate between", value1, value2, "cstate");
            return (Criteria) this;
        }

        public Criteria andCstateNotBetween(String value1, String value2) {
            addCriterion("cstate not between", value1, value2, "cstate");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeIsNull() {
            addCriterion("ccreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeIsNotNull() {
            addCriterion("ccreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeEqualTo(Date value) {
            addCriterionForJDBCTime("ccreateTime =", value, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeNotEqualTo(Date value) {
            addCriterionForJDBCTime("ccreateTime <>", value, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeGreaterThan(Date value) {
            addCriterionForJDBCTime("ccreateTime >", value, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("ccreateTime >=", value, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeLessThan(Date value) {
            addCriterionForJDBCTime("ccreateTime <", value, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("ccreateTime <=", value, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeIn(List<Date> values) {
            addCriterionForJDBCTime("ccreateTime in", values, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeNotIn(List<Date> values) {
            addCriterionForJDBCTime("ccreateTime not in", values, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("ccreateTime between", value1, value2, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcreatetimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("ccreateTime not between", value1, value2, "ccreatetime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeIsNull() {
            addCriterion("ccostTime is null");
            return (Criteria) this;
        }

        public Criteria andCcosttimeIsNotNull() {
            addCriterion("ccostTime is not null");
            return (Criteria) this;
        }

        public Criteria andCcosttimeEqualTo(Date value) {
            addCriterionForJDBCTime("ccostTime =", value, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeNotEqualTo(Date value) {
            addCriterionForJDBCTime("ccostTime <>", value, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeGreaterThan(Date value) {
            addCriterionForJDBCTime("ccostTime >", value, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("ccostTime >=", value, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeLessThan(Date value) {
            addCriterionForJDBCTime("ccostTime <", value, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCTime("ccostTime <=", value, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeIn(List<Date> values) {
            addCriterionForJDBCTime("ccostTime in", values, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeNotIn(List<Date> values) {
            addCriterionForJDBCTime("ccostTime not in", values, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("ccostTime between", value1, value2, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andCcosttimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCTime("ccostTime not between", value1, value2, "ccosttime");
            return (Criteria) this;
        }

        public Criteria andArcdateIsNull() {
            addCriterion("arcdate is null");
            return (Criteria) this;
        }

        public Criteria andArcdateIsNotNull() {
            addCriterion("arcdate is not null");
            return (Criteria) this;
        }

        public Criteria andArcdateEqualTo(Date value) {
            addCriterionForJDBCDate("arcdate =", value, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateNotEqualTo(Date value) {
            addCriterionForJDBCDate("arcdate <>", value, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateGreaterThan(Date value) {
            addCriterionForJDBCDate("arcdate >", value, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("arcdate >=", value, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateLessThan(Date value) {
            addCriterionForJDBCDate("arcdate <", value, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("arcdate <=", value, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateIn(List<Date> values) {
            addCriterionForJDBCDate("arcdate in", values, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateNotIn(List<Date> values) {
            addCriterionForJDBCDate("arcdate not in", values, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("arcdate between", value1, value2, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcdateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("arcdate not between", value1, value2, "arcdate");
            return (Criteria) this;
        }

        public Criteria andArcpriceIsNull() {
            addCriterion("arcprice is null");
            return (Criteria) this;
        }

        public Criteria andArcpriceIsNotNull() {
            addCriterion("arcprice is not null");
            return (Criteria) this;
        }

        public Criteria andArcpriceEqualTo(String value) {
            addCriterion("arcprice =", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceNotEqualTo(String value) {
            addCriterion("arcprice <>", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceGreaterThan(String value) {
            addCriterion("arcprice >", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceGreaterThanOrEqualTo(String value) {
            addCriterion("arcprice >=", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceLessThan(String value) {
            addCriterion("arcprice <", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceLessThanOrEqualTo(String value) {
            addCriterion("arcprice <=", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceLike(String value) {
            addCriterion("arcprice like", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceNotLike(String value) {
            addCriterion("arcprice not like", value, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceIn(List<String> values) {
            addCriterion("arcprice in", values, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceNotIn(List<String> values) {
            addCriterion("arcprice not in", values, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceBetween(String value1, String value2) {
            addCriterion("arcprice between", value1, value2, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcpriceNotBetween(String value1, String value2) {
            addCriterion("arcprice not between", value1, value2, "arcprice");
            return (Criteria) this;
        }

        public Criteria andArcnumIsNull() {
            addCriterion("arcnum is null");
            return (Criteria) this;
        }

        public Criteria andArcnumIsNotNull() {
            addCriterion("arcnum is not null");
            return (Criteria) this;
        }

        public Criteria andArcnumEqualTo(String value) {
            addCriterion("arcnum =", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumNotEqualTo(String value) {
            addCriterion("arcnum <>", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumGreaterThan(String value) {
            addCriterion("arcnum >", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumGreaterThanOrEqualTo(String value) {
            addCriterion("arcnum >=", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumLessThan(String value) {
            addCriterion("arcnum <", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumLessThanOrEqualTo(String value) {
            addCriterion("arcnum <=", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumLike(String value) {
            addCriterion("arcnum like", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumNotLike(String value) {
            addCriterion("arcnum not like", value, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumIn(List<String> values) {
            addCriterion("arcnum in", values, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumNotIn(List<String> values) {
            addCriterion("arcnum not in", values, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumBetween(String value1, String value2) {
            addCriterion("arcnum between", value1, value2, "arcnum");
            return (Criteria) this;
        }

        public Criteria andArcnumNotBetween(String value1, String value2) {
            addCriterion("arcnum not between", value1, value2, "arcnum");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}